package com.vipheyue.campusrecyce.utils;

import android.text.TextUtils;
import android.widget.TextView;

/**
 * Created by heyue on 16/4/28.
 */
public class CheckTextUtil {
    public  static<T extends TextView> boolean textIsEmpty(T mview) {
        if (TextUtils.isEmpty(mview.getText().toString().trim())) {
            return true;
        }
        return false;
    }
}
